import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import Home from '@/page/Home'
import WhiteBorder from '@/page/WhiteBorder'
import Storage from '@/page/Storage'
import Projects from '@/page/Projects'
import WbDetails from '@/page/WbDetails'
import CarInfo from '@/page/CarInfo'
import DrawBoard from '@/page/DrawingBoard'
import Test3D from '@/page/Test3D'

Vue.use(Router)

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // },
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/whiteborder',
      name: 'WhiteBorder',
      component: WhiteBorder
    },
    {
      path: '/storage',
      name: 'Storage',
      component: Storage
    },
    {
      path: '/projects',
      name: 'Projects',
      component: Projects
    },
    {
      path: '/wbdetails',
      name: 'WbDetails',
      component: WbDetails
    },
    {
      path: '/carinfo',
      name: 'CarInfo',
      component: CarInfo
    },
    {
      path: '/drawBoard',
      name: 'DrawBoard',
      component: DrawBoard
    },
    {
      path: '/test',
      name: 'Test3D',
      component: Test3D
    }
  ]
})